/*
 * @description:   全局入口
 * @Author: Islands
 * @Date: 2023-05-31 10:52:20
 * @LastEditTime: 2024-03-26 19:36:34
 */
import { createApp } from 'vue';
import App from '@/App.vue';
import { setupStore } from '@/store/index'
import router from '@/router/index';
import { setupElIcons,setupI18n } from "@/plugins";

import '@/router/permission/index';
import '@/assets/alibaba/iconfont.js';  //引入阿里图标库
import "@/styles/index.css";
import 'uno.css'
import 'animate.css';
//import 'element-plus/theme-chalk/dark/css-vars.css'; //导入深色主题

const app = createApp(App)
setupStore(app);
setupI18n(app)
app.use(router).mount('#app');


//全局动态参数
app.config.globalProperties.$animation_prefix = 'animate__animated';
//获取当前启动环境
app.config.globalProperties.$evn = import.meta.env.MODE;